]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Implement MetaDisplay::init-xserver hook
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 14 Nov 2019 22:56:42 +0000 (23:56 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 29 Feb 2020 17:58:55 +0000 (18:58 +0100)
commit12e14884efbe09cd90444c98701e6444a68cbb32
treeb8226938f74cb83cecc222b2179a5364020a4338
parent3c4a5a67e2952812d67473d640eff96600fbe93d
windowManager: Implement MetaDisplay::init-xserver hook

We do spawn gsd-xsettings, and watch its name before notifying on the
given task, so the mutter bits can proceed with X11 startup.

One notable change is that we only start gsd-xsettings, instead of the
generic gnome-session-x11-services target. We do so as we have to wait
on a dbus name to appear in order to deem the initialization done, and
making it all depend on gsd-xsettings seems tidier.

Less notably, we also use ::shutdown-xserver to shutdown the related
services. Its major benefit is that it'd allow us to ensure the olderly
shutdown of those services, but it's unused at the moment.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/836
js/ui/windowManager.js